/**
 * 2018/7/31 13:22:18 Wen Jun created.
 */

package com.diver.flinkdemo.entity.xxt;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * 2018/07/31
 * Created by Wen Jun.
 */
@Data
public class LocationInfo implements java.io.Serializable {

//    private String id;
//    private String studentCardId;
//    private Integer isDanger;
//    private String gpsEffective;

    // 序列化版本
    private static final long serialVersionUID = -7813322259026264064L;

    //  [主键]
    @TableId(type = IdType.UUID)
    private String msgId;
    //
    private String stamp;
    //
    private String imei;
    //地址
    private String address;
    //
    private String electricity;
    //
    private String step;
    //
    private String exceptionMsg;
    // 常用轨迹命令id
    private String commendId;
    // 是否在安全区域 0不在 1在
    private Integer isSafety;
    // 安全区域名称
    private String safetyName;
    // 数据类型
    private String typeIdent;
    //
    private Date uploadTime;
    private Date createTime;
    private String fenceId;
    //注网状态 0 :GSM  1:3G 2:4G+Volte 3:4G+no Volte 4：未知
    private String netStatus;
    //	其他基站
    private String jzStrNear;
    //浮点数，定位精度，可选（GPS存在）
    private String pdop;
    //设备型号
    private String deviceModel;
    //
    private String mac;
    //
    private String lat;
    //
    private String lon;
    private String jzStr;
    //定位上传类型：WIFI，BASE, GPS
    private String uploadType;
    //	产品Id
    private String appId;
    //数据类型
    private String type;
    @TableField(exist = false)
    private String wifi;

    @Override
    public String toString() {
        return "LocationInfo{" +
                "msgId='" + msgId + '\'' +
                ", stamp='" + stamp + '\'' +
                ", imei='" + imei + '\'' +
                ", address='" + address + '\'' +
                ", electricity='" + electricity + '\'' +
                ", step='" + step + '\'' +
                ", exceptionMsg='" + exceptionMsg + '\'' +
                ", commendId='" + commendId + '\'' +
                ", isSafety=" + isSafety +
                ", safetyName='" + safetyName + '\'' +
                ", typeIdent='" + typeIdent + '\'' +
                ", uploadTime=" + uploadTime +
                ", createTime=" + createTime +
                ", fenceId='" + fenceId + '\'' +
                ", netStatus='" + netStatus + '\'' +
                ", jzStrNear='" + jzStrNear + '\'' +
                ", pdop='" + pdop + '\'' +
                ", deviceModel='" + deviceModel + '\'' +
                ", mac='" + mac + '\'' +
                ", lat='" + lat + '\'' +
                ", lon='" + lon + '\'' +
                ", jzStr='" + jzStr + '\'' +
                ", uploadType='" + uploadType + '\'' +
                ", appId='" + appId + '\'' +
                ", type='" + type + '\'' +
                ", wifi='" + wifi + '\'' +
                '}';
    }
}
